const getters = {
  // 用户相关
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  userId: state => state.user.userId,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  // 系统
  menus: state => state.system.menu,
  config: state => state.system.config,
  category: state => state.system.category,
}
export default getters
